package cn.zw.design.order.formal;

public class TurnOnTv implements Command {
	Tv tv;
	
	public TurnOnTv(Tv tv) {
		this.tv = tv;
	}
	
	
	@Override
	public void execute() {
		tv.on();
	}


	@Override
	public void undo() {
		tv.off();
	}

}
